Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update React Native shims to use export syntax #31426

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

huntie
Copy link
Member

@huntie huntie commented Nov 5, 2024

Summary

I'm working to get the main react-native package parsable by modern Flow tooling (both flow-bundler, flow-api-translator), and one blocker is legacy module.exports syntax. This diff updates files which are synced to react-native from this repo.

How did you test this change?

Files were pasted into react-native-github under fbsource, where Flow validates ✅.

Copy link

vercel bot commented Nov 5, 2024

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this project.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@react-sizebot
Copy link

The size diff is too large to display in a single comment. The GitHub action for this pull request contains an artifact called 'sizebot-message.md' with the full message.

Generated by 🚫 dangerJS against 4ca6b7a

@sammy-SC sammy-SC merged commit 5c56b87 into facebook:main Nov 7, 2024
182 of 183 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 7, 2024
## Summary

I'm working to get the main `react-native` package parsable by modern
Flow tooling (both `flow-bundler`, `flow-api-translator`), and one
blocker is legacy `module.exports` syntax. This diff updates files which
are [synced to
`react-native`](https://github.com/facebook/react-native/tree/main/packages/react-native/Libraries/Renderer/shims)
from this repo.

## How did you test this change?

Files were pasted into `react-native-github` under fbsource, where Flow
validates ✅.

DiffTrain build for [5c56b87](5c56b87)
@huntie huntie deleted the shims-export-syntax branch November 7, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants